<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
<%
	String appPath = request.getContextPath();
	String allPath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort();
	pageContext.setAttribute("appPath", appPath);
	pageContext.setAttribute("allPath", allPath);
	request.setCharacterEncoding("gb2312");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="common/head.jsp" flush="true">
	<jsp:param name="title" value="图书馆::最新消息" />
</jsp:include> 
</head>
<body>
<div class="container">
	<jsp:include page="common/menu.jsp" flush="true"/>
    <div class="container">
        <div class="header-1">
           <div class="path">当前位置: <a href="<%=appPath%>/index.do">首页</a> 
            	&rsaquo; <a href="<%=appPath%>/news.do?action=page">最新消息</a>
            	&rsaquo; <a href="<%=appPath%>/news.do?event=single&id=${news.newsId}">${news.title}</a>
           </div>
        </div>
		    <span class="colEnd"></span>
				<div class="bg_endPage_blue">
					<div class="endContent">
					<div><h2 style="font-size: 20px;font-weight: bold;line-height: 28px;margin: 10px 0 2px;text-align: center">${news.title}</h2></div>
					<div class="info">来源:${news.newsfrom} 发布日期: <fmt:formatDate value="${news.pubDate}" pattern="yyyy-MM-dd" />  录入者:${news.writer} <span class="cdRed">有${news.hit}人浏览</span></div>
		        <div class="endText">
		        	${news.content}
		        </div>		        
		        <p class="sub"><span class="red"><a href="javascript:window.close();">[关闭窗口]</a></span></p>
		   	 </div>  
       </div> 
       <span class="colEnd"></span>
     </div>
    
<jsp:include page="common/foot.jsp" flush="true"/>
</div>
</body>
</html> 